<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./echarts.js"></script>
</head>

<body>
    <div id="min" style="width:100%;height:800px"></div>
</body>

</html>
<script>
    let min = document.querySelector('#min')
    let obj = echarts.init(min)
    let option = {
        xAxis: {
            type: 'category',
            data: ['2017-12-27', '2017-12-28', '2017-12-29', '2017-12-30', '2017-12-31', '2018-1-1'],
            boundaryGap: false
        },
        yAxis: {
            type: 'value',
            axisLine: {
                show: true
            }

        },
legend:{},
        series: [
            {
                type: 'line',
                data: ['2000', '2220', '2230', '2210', '2205', '2300'],
                areaStyle: {
                    color: 'rgba(212, 113, 110)',
                 
                },
                stack:'王帅林',
                name:'华东'
            },
            {
                type: 'line',
                data: ['9000', '6000', '8000', '7000', '10000', '14000'],
                areaStyle: {
                    color: 'rgba(109, 124, 135)'
                },
                stack:'王帅林',
                name:'华南'
            },
            {
                type: 'line',
                data: ['16000', '10000', '17000', '21000', '23000', '27000'],
                areaStyle: {
                    color: 'rgba(144, 188, 194)'
                },
                stack:'王帅林',
                name:'华北'
            },
            {
                type: 'line',
                data: ['26000', '15000', '22000', '35000', '38000', '40000'],
                areaStyle: {
                    color: 'rgba(225, 167, 147)'
                },
                stack:'王帅林',
                name:'西部'
            },
            {
                type: 'line',
                data: ['40000', '20000', '34000', '50000', '52000', '53000'],
                areaStyle: {
                    color: 'rgba(178, 216, 198)'
                },
                stack:'王帅林',
                name:'其它'
            },
        ]
    }
    obj.setOption(option)
</script>